package com.jic.product.manage.request.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 分页基类
 *
 * @author guohuayong
 * @date: 2020年01月10日
 */
@Data
@ApiModel("分页基类")
@NoArgsConstructor
@AllArgsConstructor
public class BasePage implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "当前页", example = "1")
    private Integer start = 1;

    @ApiModelProperty(value = "每页显示条数，默认 10", example = "10")
    private Integer limit = 10;
}
